home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
JZINKEY.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1988-12-18
|
322 b
|
24 lines
assume cs:_text
_text segment public byte 'code'
public _jzinkey
_jzinkey proc near
push bp
mov bp,sp
mov ah,0
int 16h ; get scan code
push ax
pop cx ; save scan in cx
xchg ah,al
mov ah,0
mov bx,[bp+4]
mov [bx],ax
mov al,cl
mov sp,bp
pop bp
ret
_jzinkey endp
_text ends
end